package com.example.huizhou.bean;

public class Student {
    private int Id;
    private String studentID;
    private String name;
    private String password;
    private String sex;
    private String major;
    private String classname;
    private String faculty;

    @Override
    public String toString() {
        return "Student{" +
                "Id=" + Id +
                ", studentID='" + studentID + '\'' +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", sex='" + sex + '\'' +
                ", major='" + major + '\'' +
                ", classname='" + classname + '\'' +
                ", faculty='" + faculty + '\'' +
                ", year='" + year + '\'' +
                '}';
    }

    private String year;

//    @Override
//    public String toString(){
//        return "Student{" +
//                "student_id='"+studentID+'\''+
//                ", student_name='"+name+'\''+
//                ", student_sex='"+sex+'\''+
//                ", student_major='"+major+'\''+
//                ", student_class='"+classname+'\''+
//                ", student_password='"+password+"'"+
//                '}';
//    }

    public void setFaculty(String faculty) {
        this.faculty = faculty;
    }

    public String getFaculty() {
        return faculty;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getClassname() {
        return classname;
    }

    public void setClassname(String classname) {
        this.classname = classname;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStudentID() {
        return studentID;
    }

    public void setStudentID(String studentID) {
        this.studentID = studentID;
    }

    public int getId() {
        return Id;
    }

    public void setId(int id) {
        this.Id = id;
    }
}
